import request from '@/utils/request1'
export function list(query) {
    return request({
        url: '/admin/style/index',
        method: 'get',
        params: query
    })
}
export function add(query) {
    return request({
        url: '/admin/style/create',
        method: 'post',
        data: query
    })
}
export function detail(query) {
    return request({
        url: '/admin/style/detail',
        method: 'get',
        params: query
    })
}
export function create(query) {
    return request({
        url: '/admin/style/update',
        method: 'post',
        data: query
    })
}